// 获取店铺数据
import request from "@/utils/request";

export function statisticalData(query) {
  return request({
    url: '/shop/seller/sellerStoreEmpower/statisticalData',
    method: 'get',
    params: query
  })
}

// 店铺绑定ERP
export function storeBindErp(data) {
  return request({
    url: '/shop/seller/storeUserAssociation/edit',
    method: 'put',
    data: data
  })
}

// 查询店铺绑定的erp账号
export function getAssociationByStore(data) {
  return request({
    url: '/shop/seller/storeUserAssociation/getAssociationByStore',
    method: 'get',
    params: data
  })
}
